#ifndef CONVERTOP_H
#define CONVERTOP_H

#include <QWidget>
#include "../../core/Operation.h"
#include "../../detiq-t/GenericInterface/Widgets/ImageWidgets/DoubleImageWindow.h"
#include "../../detiq-t/GenericInterface/Widgets/ImageWidgets/StandardImageWindow.h"
#include "ConvertOpDialog.h"

class QWidget;

class ConvertOp : public GenericOperation
{
public:
    ConvertOp();

    void operator()(const genericinterface::ImageWindow* currentWnd, const std::vector<const genericinterface::ImageWindow*>&);

    bool needCurrentImg() const{return true;}
    bool isValidImgWnd(const genericinterface::ImageWindow* imgWnd)const {return imgWnd!=NULL;}
};

#endif // CONVERTOP_H
